package com.syni.mdd.yhd.common.all.controller.protect.advert;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.syni.mdd.yhd.common.all.service.advert.BmsAdvertService;

/**
 * @className BmsAdvertController
 * @description TOO
 * @Author lcc
 * @DATE 2020/01/13 16:53
 * @VERSION 1.0
 **/
@RestController
@RequestMapping("/advert")
public class BmsAdvertController {
	
	@Autowired
	BmsAdvertService bmsAdvertService;
	
	@PostMapping("getAdverts")
	public Map<String,Object> getAdverts(){
		return bmsAdvertService.getAdverts();
	}
}
